package com.frogs.ucenter.entity;

import java.io.Serializable;
import java.util.Date;

import com.frogs.system.util.SexEnum;
import com.frogs.system.util.UserFamilyStatusEnum;

public class UserFamilyMember implements Serializable {
    private static final long serialVersionUID = -7336888143052466667L;

    /**
     * This field corresponds to the database column user_family_member.id
     */
    private Integer id = 0;
    
    private Integer age = 0;

    /**
     * This field corresponds to the database column user_family_member.user_id
     */
    private Integer userId = 0;

    /**
     * This field corresponds to the database column user_family_member.relatives
     */
    private String relatives;

    /**
     * This field corresponds to the database column user_family_member.rank
     */
    private Integer rank = 0;

    /**
     * This field corresponds to the database column user_family_member.sex
     */
    private Integer sex = SexEnum.UNKNOW.getId();

    /**
     * This field corresponds to the database column user_family_member.age_lower_limit
     */
    private Integer ageLowerLimit = 0;

    /**
     * This field corresponds to the database column user_family_member.age_upper_limit
     */
    private Integer ageUpperLimit = 0;

    /**
     * This field corresponds to the database column user_family_member.create_time
     */
    private Date createTime = new Date();

    public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	/**
     * This field corresponds to the database column user_family_member.disease_tag
     */
    private String diseaseTag;

    /**
     * This field corresponds to the database column user_family_member.medication_contraindications_tag
     */
    private String medicationContraindicationsTag;

    /**
     * This field corresponds to the database column user_family_member.health_condition_tag
     */
    private String healthConditionTag;

    /**
     * This field corresponds to the database column user_family_member.other_tag
     */
    private String otherTag;

    /**
     * This field corresponds to the database column user_family_member.full_tag
     */
    private String fullTag;

    /**
     * This field corresponds to the database column user_family_member.name
     */
    private String name;

    /**
     * This field corresponds to the database column user_family_member.identity_type
     */
    private Integer identityType = 0;

    /**
     * This field corresponds to the database column user_family_member.identity_card
     */
    private String identityCard;

    /**
     * This field corresponds to the database column user_family_member.health_insurance_info
     */
    private String healthInsuranceInfo;
    
    private Integer status = UserFamilyStatusEnum.AVAILABILITY_YES.getId();
    
    private String accountName;
    
    private String phone;
    
    private Integer height = 0;
    
    private Integer weight = 0;
    
    private Date birthday;

    public Date getBirthday() {
		return birthday;
	}

	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public Integer getHeight() {
		return height;
	}

	public void setHeight(Integer height) {
		this.height = height;
	}

	public Integer getWeight() {
		return weight;
	}

	public void setWeight(Integer weight) {
		this.weight = weight;
	}


	/**
     * This method returns the value of the database column user_family_member.id
     *
     * @return the value of user_family_member.id
     */
    public Integer getId() {
        return id;
    }

    /**
     * This method sets the value of the database column user_family_member.id
     *
     * @param id the value for user_family_member.id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * This method returns the value of the database column user_family_member.user_id
     *
     * @return the value of user_family_member.user_id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * This method sets the value of the database column user_family_member.user_id
     *
     * @param userId the value for user_family_member.user_id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * This method returns the value of the database column user_family_member.relatives
     *
     * @return the value of user_family_member.relatives
     */
    public String getRelatives() {
        return relatives;
    }

    /**
     * This method sets the value of the database column user_family_member.relatives
     *
     * @param relatives the value for user_family_member.relatives
     */
    public void setRelatives(String relatives) {
        this.relatives = relatives;
    }

    /**
     * This method returns the value of the database column user_family_member.rank
     *
     * @return the value of user_family_member.rank
     */
    public Integer getRank() {
        return rank;
    }

    /**
     * This method sets the value of the database column user_family_member.rank
     *
     * @param rank the value for user_family_member.rank
     */
    public void setRank(Integer rank) {
        this.rank = rank;
    }

    /**
     * This method returns the value of the database column user_family_member.sex
     *
     * @return the value of user_family_member.sex
     */
    public Integer getSex() {
        return sex;
    }

    /**
     * This method sets the value of the database column user_family_member.sex
     *
     * @param sex the value for user_family_member.sex
     */
    public void setSex(Integer sex) {
        this.sex = sex;
    }

    /**
     * This method returns the value of the database column user_family_member.age_lower_limit
     *
     * @return the value of user_family_member.age_lower_limit
     */
    public Integer getAgeLowerLimit() {
        return ageLowerLimit;
    }

    /**
     * This method sets the value of the database column user_family_member.age_lower_limit
     *
     * @param ageLowerLimit the value for user_family_member.age_lower_limit
     */
    public void setAgeLowerLimit(Integer ageLowerLimit) {
        this.ageLowerLimit = ageLowerLimit;
    }

    /**
     * This method returns the value of the database column user_family_member.age_upper_limit
     *
     * @return the value of user_family_member.age_upper_limit
     */
    public Integer getAgeUpperLimit() {
        return ageUpperLimit;
    }

    /**
     * This method sets the value of the database column user_family_member.age_upper_limit
     *
     * @param ageUpperLimit the value for user_family_member.age_upper_limit
     */
    public void setAgeUpperLimit(Integer ageUpperLimit) {
        this.ageUpperLimit = ageUpperLimit;
    }


    /**
     * This method returns the value of the database column user_family_member.disease_tag
     *
     * @return the value of user_family_member.disease_tag
     */
    public String getDiseaseTag() {
        return diseaseTag;
    }

    /**
     * This method sets the value of the database column user_family_member.disease_tag
     *
     * @param diseaseTag the value for user_family_member.disease_tag
     */
    public void setDiseaseTag(String diseaseTag) {
        this.diseaseTag = diseaseTag;
    }

    /**
     * This method returns the value of the database column user_family_member.medication_contraindications_tag
     *
     * @return the value of user_family_member.medication_contraindications_tag
     */
    public String getMedicationContraindicationsTag() {
        return medicationContraindicationsTag;
    }

    /**
     * This method sets the value of the database column user_family_member.medication_contraindications_tag
     *
     * @param medicationContraindicationsTag the value for user_family_member.medication_contraindications_tag
     */
    public void setMedicationContraindicationsTag(String medicationContraindicationsTag) {
        this.medicationContraindicationsTag = medicationContraindicationsTag;
    }

    /**
     * This method returns the value of the database column user_family_member.health_condition_tag
     *
     * @return the value of user_family_member.health_condition_tag
     */
    public String getHealthConditionTag() {
        return healthConditionTag;
    }

    /**
     * This method sets the value of the database column user_family_member.health_condition_tag
     *
     * @param healthConditionTag the value for user_family_member.health_condition_tag
     */
    public void setHealthConditionTag(String healthConditionTag) {
        this.healthConditionTag = healthConditionTag;
    }

    /**
     * This method returns the value of the database column user_family_member.other_tag
     *
     * @return the value of user_family_member.other_tag
     */
    public String getOtherTag() {
        return otherTag;
    }

    /**
     * This method sets the value of the database column user_family_member.other_tag
     *
     * @param otherTag the value for user_family_member.other_tag
     */
    public void setOtherTag(String otherTag) {
        this.otherTag = otherTag;
    }

    /**
     * This method returns the value of the database column user_family_member.full_tag
     *
     * @return the value of user_family_member.full_tag
     */
    public String getFullTag() {
        return fullTag;
    }

    /**
     * This method sets the value of the database column user_family_member.full_tag
     *
     * @param fullTag the value for user_family_member.full_tag
     */
    public void setFullTag(String fullTag) {
        this.fullTag = fullTag;
    }

    /**
     * This method returns the value of the database column user_family_member.name
     *
     * @return the value of user_family_member.name
     */
    public String getName() {
        return name;
    }

    /**
     * This method sets the value of the database column user_family_member.name
     *
     * @param name the value for user_family_member.name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * This method returns the value of the database column user_family_member.identity_type
     *
     * @return the value of user_family_member.identity_type
     */
    public Integer getIdentityType() {
        return identityType;
    }

    /**
     * This method sets the value of the database column user_family_member.identity_type
     *
     * @param identityType the value for user_family_member.identity_type
     */
    public void setIdentityType(Integer identityType) {
        this.identityType = identityType;
    }

    /**
     * This method returns the value of the database column user_family_member.identity_card
     *
     * @return the value of user_family_member.identity_card
     */
    public String getIdentityCard() {
        return identityCard;
    }

    /**
     * This method sets the value of the database column user_family_member.identity_card
     *
     * @param identityCard the value for user_family_member.identity_card
     */
    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    /**
     * This method returns the value of the database column user_family_member.health_insurance_info
     *
     * @return the value of user_family_member.health_insurance_info
     */
    public String getHealthInsuranceInfo() {
        return healthInsuranceInfo;
    }

    /**
     * This method sets the value of the database column user_family_member.health_insurance_info
     *
     * @param healthInsuranceInfo the value for user_family_member.health_insurance_info
     */
    public void setHealthInsuranceInfo(String healthInsuranceInfo) {
        this.healthInsuranceInfo = healthInsuranceInfo;
    }

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
	
	public Integer getAge() {
		return age;
	}
	
	public void setAge(Integer age) {
		this.age = age;
	}

	public String getAccountName() {
		return accountName;
	}

	public void setAccountName(String accountName) {
		this.accountName = accountName;
	}
    
}